package cn.hfatec.shms.web.xm.xmCgmj.dao;

import java.util.List;

import cn.hfatec.shms.web.xm.xmCgmj.model.XmCgmj;
import cn.hfatec.mybatis.mapper.SqlMapper;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.web.xm.xmCgmj.model.XmCgmjParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("XmCgmjDao")
public interface XmCgmjDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List queryXmCgmj(@Param("params") XmCgmjParams params);
    public XmCgmj queryXmCgmjHj(@Param("params") XmCgmjParams params);
    public List getXmCgmjXmA();
    public List getXmCgmjXmB();
    public List getXmCgmjXmC();
    public List getXmCgmjXmD();
    public List getXmCgmjXmE();

    /**
     *
     * 根据主键获取数据
     *
     */
    public XmCgmj getXmCgmjById(Integer id);


    /**
     *
     * 插入数据
     *
     */
    public void insert(XmCgmj xmCgmj);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);
    public void deleteTime( String billTime);

    /**
     *
     * 更新数据
     *
     */
    public void update(XmCgmj xmCgmj);
    public XmCgmj getXmCgmjTime(String  billTime);
    public List getXmCgmjXmAedi(String  billTime);
    public List getXmCgmjXmBedi(String  billTime);
    public List getXmCgmjXmCedi(String  billTime);
    public List getXmCgmjXmDedi(String  billTime);
    public List getXmCgmjXmEedi(String  billTime);
}
